package com.yyx.lgb.manager.mapper;

import com.github.pagehelper.PageInfo;
import com.yyx.lgb.model.dto.product.ProductDto;
import com.yyx.lgb.model.entity.product.Product;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * ClassName: ProductMapper
 * Package: com.yyx.lgb.manager.mapper
 * Description:
 *
 * @Author: yyx
 * @Create: 2025/8/8 - 9:22
 */
@Mapper
public interface ProductMapper {
     List<Product> findByPage(ProductDto productDto);

     void save(Product product);

     Product selectById(Long id);

     void updateById(Product product);

     void deleteById(Long id);
}